Skip to content

Tasks and push notifications#6

Merged
alDuncanson merged 23 commits intomainfrom
tasks-and-push-notifications
Dec 10, 2025
Merged

Tasks and push notifications#6
alDuncanson merged 23 commits intomainfrom
tasks-and-push-notifications

Conversation

@alDuncanson
Copy link
Copy Markdown
Owner

This pull request refactors the documentation and shared utilities for the Handler project to improve clarity, maintainability, and user experience. The most significant changes include streamlining the development guides, simplifying documentation for commands and architecture, and restructuring the common utilities by introducing a new formatting system and output interface. These updates make the codebase easier to understand and extend, and provide a more consistent developer and user experience.

Documentation improvements:

  • AGENTS.md, CONTRIBUTING.md, README.md: Simplified and restructured documentation by removing detailed command tables and architecture sections, consolidating instructions, and clarifying quick start and usage information. The guides now focus on essential setup and usage, with references to available commands and contributing instructions. [1] [2] [3]

Common utilities refactor:

  • src/a2a_handler/common/__init__.py: Reorganized exports and replaced the old printing utilities with a new output system, removing functions like print_error and introducing Output, OutputMode, and get_output_context.
  • src/a2a_handler/common/output.py: Added a new output formatting system that supports raw, text, and JSON modes, providing unified and mode-aware styling for CLI output.
  • src/a2a_handler/common/formatting.py: Introduced new formatting utilities for field names and values, supporting human-readable display of structured data.

Code documentation and style:

  • src/a2a_handler/__init__.py, src/a2a_handler/common/logging.py: Enhanced module docstrings to clarify the purpose and usage of each module. [1] [2]

Tooling and configuration:

  • pyproject.toml: Added per-file linting ignores for src/a2a_handler/cli.py to suppress import errors, improving the development experience.

These changes collectively modernize the Handler project’s documentation and internal utilities, making it easier for new contributors to get started and for users to interact with the CLI and TUI interfaces.

@alDuncanson alDuncanson merged commit f0b6c0b into main Dec 10, 2025
1 check passed
@alDuncanson alDuncanson deleted the tasks-and-push-notifications branch December 10, 2025 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant